﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.LogManage
{
    /// <summary>
    /// 登录日志表
    /// </summary>
    [Table("LoginLog")]
    public class LoginLog : KeyEntity
    {
        /// <summary>
        /// 访问编号
        /// </summary>
        public string AccessNum { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 登录地址
        /// </summary>
        public string LoginSite { get; set; }

        /// <summary>
        /// 登录地点
        /// </summary>
        public string LoginPlace { get; set; }

        /// <summary>
        /// 浏览器
        /// </summary>
        public string Browser { get; set; }

        /// <summary>
        /// 操作系统
        /// </summary>
        public string OperatingSystem { get; set; }

        /// <summary>
        /// 登录状态
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 操作信息
        /// </summary>
        public string OperationalInfo { get; set; }

        /// <summary>
        /// 登录日期
        /// </summary>
        public DateTime? LoginDate { get; set; }
    }
}
